using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._TerritoryDesignTools._TerritorySolution
{
    /// <summary>
    /// <para>Make Territory Solution Layer</para>
    /// <para>Creates a group layer that represents a territory solution from an existing territory solution dataset.</para>
    /// <para>创建表示现有区域解决方案数据集中的区域解决方案的图层组。</para>
    /// </summary>    
    [DisplayName("Make Territory Solution Layer")]
    public class MakeTerritorySolutionLayer : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public MakeTerritorySolutionLayer()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_territory_dataset">
        /// <para>Input Territory Solution Dataset</para>
        /// <para>The input territory solution.</para>
        /// <para>输入区域解决方案。</para>
        /// </param>
        /// <param name="_out_territory_solution">
        /// <para>Output Territory Solution Layer</para>
        /// <para>The output territory solution group layer.</para>
        /// <para>输出区域解决方案图层组。</para>
        /// </param>
        public MakeTerritorySolutionLayer(object _in_territory_dataset, object _out_territory_solution)
        {
            this._in_territory_dataset = _in_territory_dataset;
            this._out_territory_solution = _out_territory_solution;
        }
        public override string ToolboxName => "Territory Design Tools";

        public override string ToolName => "Make Territory Solution Layer";

        public override string CallName => "td.MakeTerritorySolutionLayer";

        public override List<string> AcceptEnvironments => ["workspace"];

        public override object[] ParameterInfo => [_in_territory_dataset, _out_territory_solution];

        /// <summary>
        /// <para>Input Territory Solution Dataset</para>
        /// <para>The input territory solution.</para>
        /// <para>输入区域解决方案。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Territory Solution Dataset")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_territory_dataset { get; set; }


        /// <summary>
        /// <para>Output Territory Solution Layer</para>
        /// <para>The output territory solution group layer.</para>
        /// <para>输出区域解决方案图层组。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Territory Solution Layer")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _out_territory_solution { get; set; }


        public MakeTerritorySolutionLayer SetEnv(object workspace = null)
        {
            base.SetEnv(workspace: workspace);
            return this;
        }

    }

}